package com.moli.iov.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moli.iov.base.model.dto.req.VehicleUnauthReqDto;
import com.moli.iov.base.model.po.VehicleUnauth;
import com.moli.iov.model.dto.req.PageExtend;
import com.moli.iov.rest.RestResponse;
import java.util.List;

/**
 * <p>
 * 未授权登录管理
 * </p>
 *
 * @author zql
 * @since 2020/2/20 11:49
 */
public interface IVehicleUnauthService extends IService<VehicleUnauth> {

  /**
   * 增加异常信息
   * @param vehicleUnauth
   * @return
   */
  boolean saveVehicleUnauth(VehicleUnauth vehicleUnauth);

  /**
   * 分页查询 未授权登录
   * @param vehicleUnauthReqDto
   * @return
   */
  PageExtend<VehicleUnauth> listPageVehicleUnauth(VehicleUnauthReqDto vehicleUnauthReqDto);

  /**
   * 处理
   * @param vehicleUnauthReqDto
   * @return
   */
  boolean updateVehicleUnauthOfProcess(VehicleUnauthReqDto vehicleUnauthReqDto);

  /**
   * 根据条件查询未授权登录记录
   * @param vehicleUnauthReqDto
   * @return
   */
  List<VehicleUnauth> listVehicleUnauth(VehicleUnauthReqDto vehicleUnauthReqDto);
}
